import type { AxiosRequestConfig } from 'axios'

export interface RequestOptions<D> extends AxiosRequestConfig<D> {
    query: Record<string, any>
    /** 出错时是否隐藏错误提示 */
    hideErrorToast?: boolean
}

export const UNKNOWN_MSG = '网络错误，请稍后重试！'
